package com.fahai.web.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by sky on 17/5/9.
 * 权限连表查询时用
 */
@Getter
@Setter
@AllArgsConstructor
public class SysUserVo implements Serializable{

    private int userid;
    private String userName;
    private String userPwd;
    private Boolean isvalid;
    private String roleName;
    private String remark;
    private int role;   //0:所有权限 1:列表权限 2:编辑/修改 3:删除
    private String menuName;

//    public SysUserVo(int userid, String userName, String userPwd, Boolean isvalid, String roleName, String remark, int role, String menuName) {
//        this.userid = userid;
//        this.userName = userName;
//        this.userPwd = userPwd;
//        this.isvalid = isvalid;
//        this.roleName = roleName;
//        this.remark = remark;
//        this.role = role;
//        this.menuName = menuName;
//    }
}
